WPGraphQL\Mutation\SendPasswordResetEmail S

Total Complexity 22
Dependencies 5
Dependents 1
Total lines 252
Lines of code 117
Logical lines of code 50
Comment lines 103
Methods 11
Properties 0

Methods 11

Method Rating Maintainability Complexity Lines of code
mutate_and_get_payload()
S
48 5 36
get_output_fields()
S
58 2 16
get_user_data()
S
64 3 10
get_site_name()
S
65 3 9
was_username_provided()
S
77 2 3
get_user_not_found_error_message()
S
70 2 6
register_mutation()
S
63 1 11
get_input_fields()
S
65 1 10
is_email_address()
S
78 1 3
get_email_subject()
S
73 1 4
get_email_message()
S
63 1 9